<html>
<head>
   <script type="text/javascript">
   	function university(name,createDate){
   		this.name=name;
   		this.createDate=new Date();
   		this.showuniversity=showuniversity;
   		
   	}
   	function showuniversity(){
   		alert(3);
   		for(var para in this){
   			alert(4);
   			alert(para);
   			alert(5);
   		}
   	}
   	
   	window.onload=function(){
   		//alert(0);
   		var univer = new university("changsha","January 05,199712:00:00");
   		//alert(1);
   		//alert(univer.name);
   	   	univer.showuniversity;
   	   	//alert(2);
   	}
   	
   </script>
</head>
<body>
<h2>Hello World!</h2>

</body>
</html>
